<?php 

include_once("common/common.php");
include_once("util/MsgDispatcher.php");
include_once("util/wechatCallbackapi.php");


// 首次设置，验证访问地址
// $wechatObj = new wechatCallbackapi();
// $wechatObj->valid();


// 处理微信消息
$dispatch=new MsgDispatcher();
$dispatch->dispatch();



